package com.boss.sever;

/**
 * 广播消息处理器，用于处理向服务器广播消息的情况
 * @author 郑炆杰
 */
public class BroadcastMessageHandler extends AbstractMessageHandler {
    public BroadcastMessageHandler(Server server, String clientId, String message) {
        super(server, clientId, message);
    }

    @Override
    public void handle() {
        server.sendMessageToAll(message);
    }
}
